/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simplegeneticalgorithm.genogram;

/**
 *
 * @author eherrerag
 */
public class Genogram<T> {

    private Family root;
    private Family currentFamily;

    public Genogram(T data_){
        root = new Family(data_);
        currentFamily = root;
    }




    public SimpleNode currentNode(){
        return currentFamily.current();
    }

    public Family currentFamily(){
        return currentFamily;
    }
    /*
    public Family family(){
        if (currentFamily.current().sons() != null){
            currentFamily = currentFamily.current().sons();
            return currentFamily;
        }
        else
            return null;
    }
    */
    /*
    public void addSon(T data_){
        currentFamily.add(data_);
    }

    public void family(Family data_){
        currentFamily.current().sons(data_);
        currentFamily.current().sons().parent(currentFamily.current());
    }
     *
     */

}
